package com.ruleengine.admin.vo;

import java.util.Map;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@AllArgsConstructor
@NoArgsConstructor
public class Destination {

    // TODO-lhw-2024/03/30: 自定义校验枚举注解
    private DestinationType type;

    private Map<String, String> args;

    public enum DestinationType {

        BIFROMQ,
        KAFKA

    }

}
